﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmployeeEdit.aspx.cs" Inherits="ukeasbjWeb.EmployeeEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
		<title>修改员工信息</title> 
		<!-- 可修改区域：标题 Begin -->
		<!-- 可修改区域：标题 End -->
        <meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
		<%    
			Response.WriteFile ("HeadComm.inc"); 
		%>    
</head>
	<body  bgcolor="#26952c">
		<form id="form_EmployeeEdit" method="post" runat="server">
			<!-- 可修改区域：正文区Top -->
			<table id="Tab_Body" cellspacing="0" width="100%" border="1">
					<tr valign="middle" >
						<td align="right" width="100">电子邮件:*</td>
						<td align="left">使用pe邮箱的员工只需填写@符号左边的部分;使用idp邮箱的员工必须填写邮箱的全称。<asp:textbox id="TextBox_Email" runat="server" width="170" MaxLength="50"></asp:textbox><asp:requiredfieldvalidator id="Requiredfieldvalidator2" Text="不能为空" Display="Dynamic" ControlToValidate="TextBox_Email"
								Runat="server"></asp:requiredfieldvalidator></td>
						<td align="right" width="100">中文名:*</td>
						<td align="left"><asp:textbox id="TextBox_C_N_Employee" runat="server" width="140" MaxLength="20"></asp:textbox>
							<asp:requiredfieldvalidator id="RFV_C_N_Employee" Runat="server" Display="Dynamic" ControlToValidate="TextBox_C_N_Employee"
								Text="不能为空"  ></asp:requiredfieldvalidator></td>
						<td align="right" width="100">英文名:</td>
						<td align="left"><asp:textbox id="TextBox_E_N_Employee" runat="server" width="140" MaxLength="20"></asp:textbox></td>
						<td align="right" width="100">员工代码:*</td>
						<td align="left"><asp:textbox id="TextBox_Code_Employee" runat="server" width="140" MaxLength="20"></asp:textbox>
							<asp:requiredfieldvalidator id="RFV_Code_Employee" runat="server" Text="不能为空" Display="Dynamic" ControlToValidate="TextBox_Code_Employee"></asp:requiredfieldvalidator>
						</td>
					</tr>
					<tr valign="middle" >
						<td align="right" width="100">地区:*</td>
						<td align="left"><asp:dropdownlist id="DDList_Office" width="80" DataValueField="Code_Office" DataTextField="Office"
								runat="server" /></td>
						<td align="right" width="100">合同编号后缀:</td>
						<td align="left"><asp:textbox id="TextBox_Suffix_No_Contract" runat="server" width="140" MaxLength="20"></asp:textbox></td>
						<td align="right" width="100">PIN码:</td>
						<td align="left"><asp:textbox id="TextBox_Pin" runat="server" width="140" MaxLength="4"></asp:textbox>
						    <asp:regularexpressionvalidator id="RFV_TextBox_Pin" ControlToValidate="TextBox_Pin" ErrorMessage="必须是4个数字"
										ValidationExpression="[0-9]{4}" Runat="server" Display="Dynamic"></asp:regularexpressionvalidator></td>
						<td align="right" width="100">25 random keys:</td>
						<td align="left"><asp:textbox id="TextBox_InitNumber" runat="server" width="180" MaxLength="25"></asp:textbox>
						    <asp:regularexpressionvalidator id="REV_TextBox_InitNumber" ControlToValidate="TextBox_InitNumber" ErrorMessage="必须是25个数字"
										ValidationExpression="[0-9]{25}" Runat="server" Display="Dynamic"></asp:regularexpressionvalidator>
						</td>
					</tr>
					<tr valign="middle" >
						<td align="right" width="100">顾问:</td>
						<td align="left" width="100"><asp:checkbox id="CheckBox_Is_Counsellor" runat="server" width="120" TextAlign="Left"></asp:checkbox></td>
						<td align="right" width="100">文案:</td>
						<td align="left"><asp:checkbox id="CheckBox_Is_Writer" runat="server" width="120" TextAlign="Left"></asp:checkbox></td>
						<td align="right" width="100">O_M:</td>
						<td align="left" width="100"><asp:checkbox id="CheckBox_Is_O_M" runat="server" width="120" TextAlign="Left"></asp:checkbox></td>
						<td align="right" width="100">收款:</td>
						<td align="left"><asp:checkbox id="CheckBox_Is_Collector" runat="server" width="120" TextAlign="Left"></asp:checkbox></td>
					</tr>
					<tr valign="middle" >
						<td align="right" width="100">总部出纳:</td>
						<td align="left" width="100"><asp:checkbox id="CheckBox_Is_Cashier" runat="server" width="120" TextAlign="Left"></asp:checkbox></td>
						<td align="right" width="100">前台:</td>
						<td align="left"><asp:checkbox id="CheckBox_Is_Receptionist" runat="server" width="140" TextAlign="Left"></asp:checkbox></td>
						<td align="right" width="100">Admin:</td>
						<td align="left" width="100"><asp:checkbox id="CheckBox_Is_Admin" runat="server" width="120" TextAlign="Left"></asp:checkbox></td>
						<td align="right" width="100">总部会计:</td>
						<td align="left"><asp:checkbox id="CheckBox_Is_Accountant" runat="server" width="120" TextAlign="Left"></asp:checkbox></td>
					</tr>
					<tr valign="middle" >
						<td align="right" width="100">活跃数据:</td>
						<td align="left" width="100"><asp:checkbox id="CheckBox_Is_Active" runat="server" width="120" TextAlign="Left"></asp:checkbox></td>
						<td align="right" width="100">强制改密码:</td>
						<td align="left"><asp:checkbox id="CheckBox_Changed_PW" runat="server" width="120" TextAlign="Left"></asp:checkbox></td>
						<td align="right" width="100">一次性密码:</td>
						<td align="left"><asp:checkbox id="CheckBox_Is_MOTP" runat="server" width="120" TextAlign="Left"></asp:checkbox></td>
					    <td align="right" width="100">HR:</td>
						<td align="left"><asp:checkbox id="CheckBox_Is_HR" runat="server" width="120" TextAlign="Left"></asp:checkbox></td>
					</tr>
					<tr valign="middle" >
						<td align="right" width="100">客服:</td>
						<td align="left" width="100"><asp:checkbox id="CheckBox_Is_Frontline_Agent" runat="server" width="120" TextAlign="Left"></asp:checkbox></td>
						<td align="right" width="100">市场专员:</td>
						<td align="left"><asp:checkbox id="CheckBox_Is_Marketing" runat="server" width="120" TextAlign="Left"></asp:checkbox></td>
						<td align="right" width="100">入职日期:</td>
						<td align="left"><asp:textbox id="TextBox_Date_Entry" runat="server" width="160" MaxLength="20"></asp:textbox>
							<asp:regularexpressionvalidator id="RFV_Date_Entry" Display="Dynamic" ControlToValidate="TextBox_Date_Entry"
								ErrorMessage="范例:'2007-1-21'" ValidationExpression="[0-9]{4}(-){1}[0-9]{1,2}(-){1}[0-9]{1,2}" Runat="server"></asp:regularexpressionvalidator>
						</td>
					    <td align="right" width="100">离职日期:</td>
						<td align="left"><asp:textbox id="TextBox_Date_Departure" runat="server" width="160" MaxLength="20"></asp:textbox>
							<asp:regularexpressionvalidator id="RFV_Date_Departure" Display="Dynamic" ControlToValidate="TextBox_Date_Departure"
								ErrorMessage="范例:'2007-1-21'" ValidationExpression="[0-9]{4}(-){1}[0-9]{1,2}(-){1}[0-9]{1,2}" Runat="server"></asp:regularexpressionvalidator>
						</td>
					</tr>
					<tr valign="middle" >
						<td align="right" width="100">手机品牌型号:</td>
						<td align="left" width="100"><asp:textbox id="TextBox_Model_Mobile" runat="server" width="140" MaxLength="20"></asp:textbox></td>
						<td align="right" width="100">G_M</td>
						<td align="left"><asp:checkbox id="CheckBox_Is_G_M" runat="server" width="120" TextAlign="Left"></asp:checkbox></td>
						<td align="right" width="100">&nbsp;</td>
						<td align="left"></td>
					</tr>
					<tr valign="middle"  bgcolor="#99cc66" >
						<td  width="100"></td>
						<td align="center" >
                            <asp:Button ID="Button_NewPassword" runat="server" Text="设定新密码" 
                                onclick="Button_NewPassword_Click" />
                        </td>
						<td align="right" width="100"></td>
						<td align="center"><font face="宋体" size="2"><asp:button id="Bt_OK" runat="server" 
                                Text="确认修改" onclick="Bt_OK_Click"></asp:button></font></td>
						<td align="center"><font face="宋体" size="2"><input id="Bt_Reset" type="reset" value="取消修改" name="Bt_Reset" runat="server"/></font></td>
						<td width="100"></td>
						<td width="100"></td>
						<td  width="100">
						    <asp:Button ID="Button_OTP_Initializing" runat="server" Text="发送OPT初始化信息" 
                                onclick="Button_OTP_Initializing_Click" />
                        </td>
					</tr>
			</table>
		<table align="center">
			<tr valign="middle" align="center" >
				<td colspan="2">电子邮件:<asp:label id="Label_Msg" runat="server" ForeColor="red" EnableViewState="false"></asp:label>
                    <asp:label id="Label_Initsecret" runat="server"  EnableViewState="false"></asp:label>
				</td>
			</tr>
			<tr valign="middle" align="center" >
				<!-- 版权声明区Top -->
				<%    
				Response.WriteFile ("main_bottom.inc"); 
			%>
			</tr> <!-- 版权声明区Bottom -->
			<tr>		
			<td align="center"><a href="#" onclick="javascript:self.close()">关闭本页</a></td>
            </tr>
		</table>	
		</form>
		</body>
</html>
